package com.ad.pet.app.mall.adapter;

import android.support.annotation.Nullable;
import android.widget.TextView;

import com.ad.pet.R;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

/**
 * Created by liuyixiang on 2019/11/26.
 */

public class ServiceTilteAdapter extends BaseQuickAdapter<String,BaseViewHolder> {
    public ServiceTilteAdapter(@Nullable List<String> data) {
        super(R.layout.item_service_gou_layout, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {
        TextView tvService = helper.getView(R.id.tv_service);
        tvService.setText(item);
    }
}
